package com.example.demo.serviceimpl;

import com.example.demo.po.LogPO;
import com.example.demo.repositroy.LogDao;
import com.example.demo.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class LogServiceImpl implements LogService {

    @Autowired
    private LogDao logDao;
    @Override
    public void saveLogs(LogPO logPO) {
        logDao.save(logPO);
    }
}
